package com.bins.auth.api.controller;

import com.bins.auth.api.dto.LoginDto;
import com.bins.auth.api.dto.UserDto;
import com.bins.auth.api.vo.JwtResult;
import com.bins.auth.api.vo.LoginVo;
import com.bins.uaa.common.constants.ResponseBody;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "用户认证", tags = "用户认证接口")
public interface AuthApi {

    @ApiOperation("登录")
    LoginVo login(LoginDto loginDto);

    @ApiOperation("退出")
    ResponseBody logout(UserDto dto);

    @ApiOperation("查询用户jwt令牌")
    JwtResult userJwt(UserDto dto);
}
